//
//  HABaseSessionManager.h
//  homeAutomation
//
//  Created by wukong on 2017/9/19.
//  Copyright © 2017年 fiberhome. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
#import <objc/runtime.h>

@interface HABaseSessionManager : AFHTTPSessionManager

-(void)addTask:(NSURLSessionDataTask *)task;

-(void)removeTask:(NSURLSessionDataTask *)task;

-(NSMutableDictionary *)taskQueue;

-(BOOL)isRequesting;

-(void)cancelAllTask;

@end
